package com.briup.cms.utils;

import java.util.Map;

public class UserInfo {
    private static ThreadLocal<Map> threadLocal = new ThreadLocal<>();
    public static void setUserInfo(Map<String,Object> map){
        threadLocal.set(map);
    }
    public static Map<String,Object> getUserInfo(){
        return threadLocal.get();
    }
}
